2021-03-03 18:25:23 +00:00
{
"type" : "object" ,
"properties" : {
"version" : {
"type" : "integer" ,
"minimum" : 1 ,
"maximum" : 1
} ,
"early-commands" : {
"type" : "array" ,
"items" : {
"type" : [
"string" ,
"array"
] ,
"items" : {
"type" : "string"
}
}
} ,
"reporting" : {
"type" : "object" ,
"additionalProperties" : {
"type" : "object" ,
"properties" : {
"type" : {
"type" : "string"
}
} ,
"required" : [
"type"
] ,
"additionalProperties" : true
}
} ,
"error-commands" : {
"type" : "array" ,
"items" : {
"type" : [
"string" ,
"array"
] ,
"items" : {
"type" : "string"
}
}
} ,
"user-data" : {
"type" : "object"
} ,
"packages" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"debconf-selections" : {
"type" : "string"
} ,
"locale" : {
"type" : "string"
} ,
"refresh-installer" : {
"type" : "object" ,
"properties" : {
"update" : {
"type" : "boolean"
} ,
"channel" : {
"type" : "string"
}
} ,
"additionalProperties" : false
} ,
2021-04-12 02:00:52 +00:00
"kernel" : {
"type" : "object" ,
"properties" : {
"package" : {
"type" : "string"
} ,
"flavor" : {
"type" : "string"
}
} ,
"oneOf" : [
{
"type" : "object" ,
"required" : [
"package"
]
} ,
{
"type" : "object" ,
"required" : [
"flavor"
]
}
]
} ,
2021-03-03 18:25:23 +00:00
"keyboard" : {
"type" : "object" ,
"properties" : {
"layout" : {
"type" : "string"
} ,
"variant" : {
"type" : "string"
} ,
"toggle" : {
"type" : [
"string" ,
"null"
]
}
} ,
"required" : [
"layout"
] ,
"additionalProperties" : false
} ,
2022-04-26 09:23:53 +00:00
"source" : {
"type" : "object" ,
"properties" : {
"search_drivers" : {
"type" : "boolean"
}
} ,
"required" : [
"search_drivers"
]
} ,
2021-03-03 18:25:23 +00:00
"network" : {
"oneOf" : [
{
"type" : "object" ,
"properties" : {
"version" : {
"type" : "integer" ,
"minimum" : 2 ,
"maximum" : 2
} ,
"ethernets" : {
"type" : "object" ,
"properties" : {
"match" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"macaddress" : {
"type" : "string"
} ,
"driver" : {
"type" : "string"
}
} ,
"additionalProperties" : false
}
}
} ,
"wifis" : {
"type" : "object" ,
"properties" : {
"match" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"macaddress" : {
"type" : "string"
} ,
"driver" : {
"type" : "string"
}
} ,
"additionalProperties" : false
}
}
} ,
"bridges" : {
"type" : "object"
} ,
"bonds" : {
"type" : "object"
} ,
"tunnels" : {
"type" : "object"
} ,
"vlans" : {
"type" : "object"
}
} ,
"required" : [
"version"
]
} ,
{
"type" : "object" ,
"properties" : {
"network" : {
"type" : "object" ,
"properties" : {
"version" : {
"type" : "integer" ,
"minimum" : 2 ,
"maximum" : 2
} ,
"ethernets" : {
"type" : "object" ,
"properties" : {
"match" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"macaddress" : {
"type" : "string"
} ,
"driver" : {
"type" : "string"
}
} ,
"additionalProperties" : false
}
}
} ,
"wifis" : {
"type" : "object" ,
"properties" : {
"match" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"macaddress" : {
"type" : "string"
} ,
"driver" : {
"type" : "string"
}
} ,
"additionalProperties" : false
}
}
} ,
"bridges" : {
"type" : "object"
} ,
"bonds" : {
"type" : "object"
} ,
"tunnels" : {
"type" : "object"
} ,
"vlans" : {
"type" : "object"
}
} ,
"required" : [
"version"
]
}
} ,
"required" : [
"network"
]
}
]
} ,
2022-03-14 18:11:05 +00:00
"ubuntu-pro" : {
2022-01-04 09:46:52 +00:00
"type" : "object" ,
"properties" : {
"token" : {
2022-01-05 14:53:19 +00:00
"type" : "string" ,
"minLength" : 24 ,
"maxLength" : 30 ,
"pattern" : "^C[1-9A-HJ-NP-Za-km-z]+$" ,
"description" : "A valid token starts with a C and is followed by 23 to 29 Base58 characters.\nSee https://pkg.go.dev/github.com/btcsuite/btcutil/base58#CheckEncode"
2022-01-04 09:46:52 +00:00
}
}
} ,
2022-03-14 18:11:05 +00:00
"ubuntu-advantage" : {
"type" : "object" ,
"properties" : {
"token" : {
"type" : "string" ,
"minLength" : 24 ,
"maxLength" : 30 ,
"pattern" : "^C[1-9A-HJ-NP-Za-km-z]+$" ,
"description" : "A valid token starts with a C and is followed by 23 to 29 Base58 characters.\nSee https://pkg.go.dev/github.com/btcsuite/btcutil/base58#CheckEncode"
}
} ,
"deprecated" : true ,
"description" : "Compatibility only - use ubuntu-pro instead"
} ,
2021-03-03 18:25:23 +00:00
"proxy" : {
"type" : [
"string" ,
"null"
] ,
"format" : "uri"
} ,
"apt" : {
"type" : "object" ,
"properties" : {
"preserve_sources_list" : {
"type" : "boolean"
} ,
"primary" : {
"type" : "array"
} ,
"geoip" : {
"type" : "boolean"
} ,
"sources" : {
"type" : "object"
2021-08-04 20:27:32 +00:00
} ,
"disable_components" : {
"type" : "array" ,
"items" : {
"type" : "string" ,
"enum" : [
"universe" ,
"multiverse" ,
"restricted" ,
"contrib" ,
"non-free"
]
}
2022-01-05 15:54:11 +00:00
} ,
"preferences" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"package" : {
"type" : "string"
} ,
"pin" : {
"type" : "string"
} ,
"pin-priority" : {
"type" : "integer"
}
} ,
"required" : [
"package" ,
"pin" ,
"pin-priority"
]
}
2021-03-03 18:25:23 +00:00
}
}
} ,
"storage" : {
"type" : "object"
} ,
"identity" : {
"type" : "object" ,
"properties" : {
"realname" : {
"type" : "string"
} ,
"username" : {
"type" : "string"
} ,
"hostname" : {
"type" : "string"
} ,
"password" : {
"type" : "string"
}
} ,
"required" : [
"username" ,
"hostname" ,
"password"
] ,
"additionalProperties" : false
} ,
"ssh" : {
"type" : "object" ,
"properties" : {
"install-server" : {
"type" : "boolean"
} ,
"authorized-keys" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"allow-pw" : {
"type" : "boolean"
}
}
} ,
"snaps" : {
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string"
} ,
"channel" : {
"type" : "string"
} ,
"classic" : {
"type" : "boolean"
}
} ,
"required" : [
"name"
] ,
"additionalProperties" : false
}
} ,
2021-11-24 00:31:30 +00:00
"drivers" : {
2022-02-02 14:54:54 +00:00
"type" : "object" ,
"properties" : {
"install" : {
"type" : "boolean"
}
}
2021-11-24 00:31:30 +00:00
} ,
2021-07-13 12:25:03 +00:00
"timezone" : {
2021-10-15 21:42:14 +00:00
"type" : "string"
2021-07-13 12:25:03 +00:00
} ,
2021-03-31 19:57:53 +00:00
"updates" : {
"type" : "string" ,
"enum" : [
"security" ,
"all"
]
} ,
2021-03-03 18:25:23 +00:00
"late-commands" : {
"type" : "array" ,
"items" : {
"type" : [
"string" ,
"array"
] ,
"items" : {
"type" : "string"
}
}
2021-08-19 02:52:34 +00:00
} ,
"shutdown" : {
"type" : "string" ,
"enum" : [
"reboot" ,
"poweroff"
]
2021-03-03 18:25:23 +00:00
}
} ,
"required" : [
"version"
] ,
"additionalProperties" : true
}