diff --git a/schema-0.5/binding-0.5.jsd b/schema-0.5/binding-0.5.jsd
index 959ee3d..a6057d0 100644
--- a/schema-0.5/binding-0.5.jsd
+++ b/schema-0.5/binding-0.5.jsd
@@ -31,9 +31,10 @@
}
}
},
- "typeBinding": {
+ "typeFieldBinding": {
"@": "object",
"@doc": "Specifies language-specific binding.",
+ "@extends": "fieldBinding",
"@properties": {
"@type": {
"@": "reference",
@@ -41,7 +42,14 @@
"@nullable": false,
"@type": "typeIdentifier",
"@use": "optional"
- },
+ }
+ }
+ },
+ "codecTypeFieldBinding": {
+ "@": "object",
+ "@doc": "Specifies language-specific binding.",
+ "@extends": "typeFieldBinding",
+ "@properties": {
"@decode": {
"@": "reference",
"@doc": "Specifies the \"decode\" qualified function identifier that accepts input as a string, or as the native JSON type of this property, and returns an output of the specified \"type\" (or the default type if \"type\" is unspecified).",
@@ -58,39 +66,36 @@
}
}
},
- "typeFieldBinding": {
+ "fieldBindings": {
"@": "object",
- "@doc": "Specifies language-specific binding.",
- "@extends": "typeBinding",
+ "@abstract": true,
"@properties": {
- "@field": {
- "@": "reference",
- "@doc": "Specifies the \"field\" identifier.",
+ "\\S|\\S.*\\S": {
+ "@": "any",
"@nullable": false,
- "@type": "fieldIdentifier",
- "@use": "optional"
+ "@types": "fieldBinding"
}
}
},
- "fieldBindings": {
+ "typeFieldBindings": {
"@": "object",
"@abstract": true,
"@properties": {
"\\S|\\S.*\\S": {
"@": "any",
"@nullable": false,
- "@types": "fieldBinding"
+ "@types": "typeFieldBinding"
}
}
},
- "typeFieldBindings": {
+ "codecTypeFieldBindings": {
"@": "object",
"@abstract": true,
"@properties": {
"\\S|\\S.*\\S": {
"@": "any",
"@nullable": false,
- "@types": "typeFieldBinding"
+ "@types": "codecTypeFieldBinding"
}
}
},
@@ -129,7 +134,7 @@
},
"object": {
"@": "object",
- "@extends": "fieldBindings",
+ "@extends": "typeFieldBindings",
"@properties": {
"@": {
"@": "string",
@@ -140,7 +145,7 @@
},
"boolean": {
"@": "object",
- "@extends": "typeFieldBindings",
+ "@extends": "codecTypeFieldBindings",
"@properties": {
"@": {
"@": "string",
@@ -151,7 +156,7 @@
},
"number": {
"@": "object",
- "@extends": "typeFieldBindings",
+ "@extends": "codecTypeFieldBindings",
"@properties": {
"@": {
"@": "string",
@@ -162,7 +167,7 @@
},
"string": {
"@": "object",
- "@extends": "typeFieldBindings",
+ "@extends": "codecTypeFieldBindings",
"@properties": {
"@": {
"@": "string",
diff --git a/schema-0.5/binding-0.5.jsdx b/schema-0.5/binding-0.5.jsdx
index c4a8bdc..878ef65 100644
--- a/schema-0.5/binding-0.5.jsdx
+++ b/schema-0.5/binding-0.5.jsdx
@@ -37,15 +37,14 @@
-