diff options
author | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-05 16:18:01 +0100 |
---|---|---|
committer | waqas.ikram <waqas.ikram@ericsson.com> | 2018-06-05 16:18:47 +0100 |
commit | f94d7521936e66febee983ee7633aacaaf9d7390 (patch) | |
tree | bc93547a9541ca4f868a0f70f6e6d020458a1557 /plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc | |
parent | 37d6fd9069eb30d88c4ad80b5f35099ed173cc13 (diff) |
Adding apex plugins/plugins-context modules
Change-Id: I36fc295ffbd22661bf8bd091bfb20ebf6dcc7f5e
Issue-ID: POLICY-862
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Diffstat (limited to 'plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc')
-rw-r--r-- | plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc b/plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc new file mode 100644 index 000000000..96b6050fb --- /dev/null +++ b/plugins/plugins-context/context-schema/context-schema-avro/src/test/resources/avsc/UnionExample.avsc @@ -0,0 +1,30 @@ +{ + "namespace": "example.avro", + "type": "record", + "name": "User", + "fields": [ + { + "name": "name", + "type": "string" + }, + { + "name": "favourite_number", + "type": [ + "null", + "int" + ] + }, + { + "name": "favourite_colour", + "type": [ + "null", + "string" + ] + }, + { + "name": "favourite_group", + "type": ["null", "string"], + "default": "null" + } + ] +}
\ No newline at end of file |