QuerySchemaDeclarationProperties
The keys of a declaration file (META-INF/wow/query-schema/{context}.{aggregate}.{model}.json or config/wow/query-schema/…). A file only supplements what inference cannot know, in the capability descriptor's vocabulary:
{
"fields": {
"state.status": { "types": ["STRING"], "enum": [{ "value": "PAID", "description": "Paid" }] },
"state.placedOn": { "types": ["STRING"], "semantic": { "type": "TEMPORAL_FORMATTED", "pattern": "yyyy-MM-dd" } },
"state.attributes": { "kind": "OBJECT", "values": { "types": ["STRING"], "nullable": false } }
}
}Content copied to clipboard