1 AT_BANNER([OVSDB -- schemas])
3 OVSDB_CHECK_POSITIVE_CPY([schema with valid refTables],
24 "refTable": "a"}}}}}}}']],
25 [[{"name":"mydb","tables":{"a":{"columns":{"map":{"type":{"key":{"refTable":"b","type":"uuid"},"value":{"refTable":"a","type":"uuid"}}}}},"b":{"columns":{"aRef":{"type":{"key":{"refTable":"a","type":"uuid"}}}}}},"version":"4.2.1"}]])
27 dnl Schemas without version numbers are accepted for backward
28 dnl compatibility, but this is a deprecated feature.
29 OVSDB_CHECK_POSITIVE_CPY([schema without version number],
36 "type": "integer"}}}}}']],
37 [{"name":"mydb","tables":{"x":{"columns":{"y":{"type":"integer"}}}}}])
39 OVSDB_CHECK_NEGATIVE_CPY([schema with invalid refTables],
59 "refTable": "a"}}}}}}}']],
60 [[syntax error: column map key refers to undefined table c]])
62 OVSDB_CHECK_NEGATIVE_CPY([schema with invalid version number],
69 "type": "integer"}}}},
71 [[schema version "xxx" not in format x.y.z]])