diff --git a/src/Namespace.d.ts b/src/Namespace.d.ts index e1be201..49be933 100644 --- a/src/Namespace.d.ts +++ b/src/Namespace.d.ts @@ -209,6 +209,7 @@ interface Shapes { format: string; multipleOf: string; uniqueItems: string; + size: string; } interface Data { @@ -297,6 +298,9 @@ interface XmlSchema { string: string; number: string; integer: string; + int: string; + fixed: string; + bytes: string; long: string; double: string; float: string; diff --git a/src/Namespace.js b/src/Namespace.js index 4bf8d2b..16de062 100644 --- a/src/Namespace.js +++ b/src/Namespace.js @@ -223,6 +223,7 @@ ns.aml.vocabularies.shapes.discriminatorValue = `${shapesKey}discriminatorValue` ns.aml.vocabularies.shapes.format = `${shapesKey}format`; ns.aml.vocabularies.shapes.multipleOf = `${shapesKey}multipleOf`; ns.aml.vocabularies.shapes.uniqueItems = `${shapesKey}uniqueItems`; +ns.aml.vocabularies.shapes.size = `${shapesKey}size`; ns.aml.vocabularies.data = {}; ns.aml.vocabularies.data.key = `${ns.aml.vocabularies.key}data#`; const dataKey = ns.aml.vocabularies.data.key; @@ -288,6 +289,9 @@ ns.w3.xmlSchema.boolean = `${ns.w3.xmlSchema.key}boolean`; ns.w3.xmlSchema.string = `${ns.w3.xmlSchema.key}string`; ns.w3.xmlSchema.number = `${ns.w3.xmlSchema.key}number`; ns.w3.xmlSchema.integer = `${ns.w3.xmlSchema.key}integer`; +ns.w3.xmlSchema.int = `${ns.w3.xmlSchema.key}int`; +ns.w3.xmlSchema.bytes = `${ns.w3.xmlSchema.key}bytes`; +ns.w3.xmlSchema.fixed = `${ns.w3.xmlSchema.key}fixed`; ns.w3.xmlSchema.long = `${ns.w3.xmlSchema.key}long`; ns.w3.xmlSchema.double = `${ns.w3.xmlSchema.key}double`; ns.w3.xmlSchema.float = `${ns.w3.xmlSchema.key}float`;