Created
November 2, 2023 15:04
-
-
Save KalleDK/0f51b8d3963cfddf43d4ee65593b9849 to your computer and use it in GitHub Desktop.
extattr.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$defs": { | |
"ExtAttrValue": { | |
"title": "Value", | |
"type": "string" | |
}, | |
"ExtAttrEnum": { | |
"properties": { | |
"value": { | |
"$ref": "#/$defs/ExtAttrValue" | |
} | |
}, | |
"required": [ | |
"value" | |
], | |
"title": "ExtAttrEnum", | |
"type": "object" | |
} | |
}, | |
"properties": { | |
"_ref": { | |
"title": " Ref", | |
"type": "string" | |
}, | |
"type": { | |
"const": "ENUM", | |
"title": "Type" | |
}, | |
"name": { | |
"title": "Name", | |
"type": "string" | |
}, | |
"comment": { | |
"anyOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"type": "null" | |
} | |
], | |
"default": null, | |
"title": "Comment" | |
}, | |
"default_value": { | |
"anyOf": [ | |
{ | |
"$ref": "#/$defs/ExtAttrValue" | |
}, | |
{ | |
"type": "null" | |
} | |
] | |
}, | |
"flags": { | |
"anyOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"type": "null" | |
} | |
], | |
"default": null, | |
"title": "Flags" | |
}, | |
"list_values": { | |
"items": { | |
"$ref": "#/$defs/ExtAttrEnum" | |
}, | |
"title": "List Values", | |
"type": "array" | |
} | |
}, | |
"required": [ | |
"type", | |
"name", | |
"default_value", | |
"list_values" | |
], | |
"title": "ExtAttrEnumDef", | |
"type": "object" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment