Add files
This commit is contained in:
.gitignoreDockerfileMakefileconfig.xmlconfig.xsdconvert.sh
converted
Abdera
BadgerFish
Columnar
JsonML
Parker
Unordered
1
converted/Abdera/config.json
Normal file
1
converted/Abdera/config.json
Normal file
@ -0,0 +1 @@
|
||||
{"attributes": {"xsi:noNamespaceSchemaLocation": "config.xsd"}, "children": [{"item": [{"attributes": {"id": 1234}, "children": [{"name": "Item", "award": {"resource": [{"attributes": {"type": "money"}, "children": [{"type": "money", "count": 100}]}, {"attributes": {"type": "item"}, "children": [{"type": "item", "count": 2, "itemId": 5}]}]}}]}, {"attributes": {"id": 1235}, "children": [{"name": "Item 2", "alias": ["item", "12345"]}]}]}]}
|
62
converted/Abdera/pretty.json
Normal file
62
converted/Abdera/pretty.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"attributes": {
|
||||
"xsi:noNamespaceSchemaLocation": "config.xsd"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"item": [
|
||||
{
|
||||
"attributes": {
|
||||
"id": 1234
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Item",
|
||||
"award": {
|
||||
"resource": [
|
||||
{
|
||||
"attributes": {
|
||||
"type": "money"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"type": "money",
|
||||
"count": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"type": "item"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"type": "item",
|
||||
"count": 2,
|
||||
"itemId": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"id": 1235
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Item 2",
|
||||
"alias": [
|
||||
"item",
|
||||
"12345"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
1
converted/BadgerFish/config.json
Normal file
1
converted/BadgerFish/config.json
Normal file
@ -0,0 +1 @@
|
||||
{"@xmlns": {"xsi": "http://www.w3.org/2001/XMLSchema-instance"}, "items": {"@xsi:noNamespaceSchemaLocation": "config.xsd", "item": [{"@id": 1234, "name": [{"$": "Item"}], "award": [{"resource": [{"@type": "money", "type": [{"$": "money"}], "count": [{"$": 100}]}, {"@type": "item", "type": [{"$": "item"}], "count": [{"$": 2}], "itemId": [{"$": 5}]}]}]}, {"@id": 1235, "name": [{"$": "Item 2"}], "alias": [{"$": "item"}, {"$": "12345"}]}]}}
|
71
converted/BadgerFish/pretty.json
Normal file
71
converted/BadgerFish/pretty.json
Normal file
@ -0,0 +1,71 @@
|
||||
{
|
||||
"@xmlns": {
|
||||
"xsi": "http://www.w3.org/2001/XMLSchema-instance"
|
||||
},
|
||||
"items": {
|
||||
"@xsi:noNamespaceSchemaLocation": "config.xsd",
|
||||
"item": [
|
||||
{
|
||||
"@id": 1234,
|
||||
"name": [
|
||||
{
|
||||
"$": "Item"
|
||||
}
|
||||
],
|
||||
"award": [
|
||||
{
|
||||
"resource": [
|
||||
{
|
||||
"@type": "money",
|
||||
"type": [
|
||||
{
|
||||
"$": "money"
|
||||
}
|
||||
],
|
||||
"count": [
|
||||
{
|
||||
"$": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": "item",
|
||||
"type": [
|
||||
{
|
||||
"$": "item"
|
||||
}
|
||||
],
|
||||
"count": [
|
||||
{
|
||||
"$": 2
|
||||
}
|
||||
],
|
||||
"itemId": [
|
||||
{
|
||||
"$": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@id": 1235,
|
||||
"name": [
|
||||
{
|
||||
"$": "Item 2"
|
||||
}
|
||||
],
|
||||
"alias": [
|
||||
{
|
||||
"$": "item"
|
||||
},
|
||||
{
|
||||
"$": "12345"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
1
converted/Columnar/config.json
Normal file
1
converted/Columnar/config.json
Normal file
@ -0,0 +1 @@
|
||||
{"items": {"itemsxsi:noNamespaceSchemaLocation": "config.xsd", "item": [{"itemid": 1234, "name": ["Item"], "award": [{"resource": [{"resourcetype": "money", "type": ["money"], "count": [100]}, {"resourcetype": "item", "type": ["item"], "count": [2], "itemId": [5]}]}]}, {"itemid": 1235, "name": ["Item 2"], "alias": ["item", "12345"]}]}}
|
50
converted/Columnar/pretty.json
Normal file
50
converted/Columnar/pretty.json
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"items": {
|
||||
"itemsxsi:noNamespaceSchemaLocation": "config.xsd",
|
||||
"item": [
|
||||
{
|
||||
"itemid": 1234,
|
||||
"name": [
|
||||
"Item"
|
||||
],
|
||||
"award": [
|
||||
{
|
||||
"resource": [
|
||||
{
|
||||
"resourcetype": "money",
|
||||
"type": [
|
||||
"money"
|
||||
],
|
||||
"count": [
|
||||
100
|
||||
]
|
||||
},
|
||||
{
|
||||
"resourcetype": "item",
|
||||
"type": [
|
||||
"item"
|
||||
],
|
||||
"count": [
|
||||
2
|
||||
],
|
||||
"itemId": [
|
||||
5
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"itemid": 1235,
|
||||
"name": [
|
||||
"Item 2"
|
||||
],
|
||||
"alias": [
|
||||
"item",
|
||||
"12345"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
1
converted/JsonML/config.json
Normal file
1
converted/JsonML/config.json
Normal file
@ -0,0 +1 @@
|
||||
["items", {"xsi:noNamespaceSchemaLocation": "config.xsd", "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance"}, ["item", {"id": 1234}, ["name", "Item"], ["award", ["resource", {"type": "money"}, ["type", "money"], ["count", 100]], ["resource", {"type": "item"}, ["type", "item"], ["count", 2], ["itemId", 5]]]], ["item", {"id": 1235}, ["name", "Item 2"], ["alias", "item"], ["alias", "12345"]]]
|
70
converted/JsonML/pretty.json
Normal file
70
converted/JsonML/pretty.json
Normal file
@ -0,0 +1,70 @@
|
||||
[
|
||||
"items",
|
||||
{
|
||||
"xsi:noNamespaceSchemaLocation": "config.xsd",
|
||||
"xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance"
|
||||
},
|
||||
[
|
||||
"item",
|
||||
{
|
||||
"id": 1234
|
||||
},
|
||||
[
|
||||
"name",
|
||||
"Item"
|
||||
],
|
||||
[
|
||||
"award",
|
||||
[
|
||||
"resource",
|
||||
{
|
||||
"type": "money"
|
||||
},
|
||||
[
|
||||
"type",
|
||||
"money"
|
||||
],
|
||||
[
|
||||
"count",
|
||||
100
|
||||
]
|
||||
],
|
||||
[
|
||||
"resource",
|
||||
{
|
||||
"type": "item"
|
||||
},
|
||||
[
|
||||
"type",
|
||||
"item"
|
||||
],
|
||||
[
|
||||
"count",
|
||||
2
|
||||
],
|
||||
[
|
||||
"itemId",
|
||||
5
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
"item",
|
||||
{
|
||||
"id": 1235
|
||||
},
|
||||
[
|
||||
"name",
|
||||
"Item 2"
|
||||
],
|
||||
[
|
||||
"alias",
|
||||
"item"
|
||||
],
|
||||
[
|
||||
"alias",
|
||||
"12345"
|
||||
]
|
||||
]
|
||||
]
|
1
converted/Parker/config.json
Normal file
1
converted/Parker/config.json
Normal file
@ -0,0 +1 @@
|
||||
{"item": [{"name": "Item", "award": {"resource": [{"type": "money", "count": 100}, {"type": "item", "count": 2, "itemId": 5}]}}, {"name": "Item 2", "alias": ["item", "12345"]}]}
|
27
converted/Parker/pretty.json
Normal file
27
converted/Parker/pretty.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"item": [
|
||||
{
|
||||
"name": "Item",
|
||||
"award": {
|
||||
"resource": [
|
||||
{
|
||||
"type": "money",
|
||||
"count": 100
|
||||
},
|
||||
{
|
||||
"type": "item",
|
||||
"count": 2,
|
||||
"itemId": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Item 2",
|
||||
"alias": [
|
||||
"item",
|
||||
"12345"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
1
converted/Unordered/config.json
Normal file
1
converted/Unordered/config.json
Normal file
@ -0,0 +1 @@
|
||||
{"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", "@xsi:noNamespaceSchemaLocation": "config.xsd", "item": [{"@id": 1234, "name": ["Item"], "award": [{"resource": [{"@type": "money", "type": ["money"], "count": [100]}, {"@type": "item", "type": ["item"], "count": [2], "itemId": [5]}]}]}, {"@id": 1235, "name": ["Item 2"], "alias": ["item", "12345"]}]}
|
49
converted/Unordered/pretty.json
Normal file
49
converted/Unordered/pretty.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
|
||||
"@xsi:noNamespaceSchemaLocation": "config.xsd",
|
||||
"item": [
|
||||
{
|
||||
"@id": 1234,
|
||||
"name": [
|
||||
"Item"
|
||||
],
|
||||
"award": [
|
||||
{
|
||||
"resource": [
|
||||
{
|
||||
"@type": "money",
|
||||
"type": [
|
||||
"money"
|
||||
],
|
||||
"count": [
|
||||
100
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": "item",
|
||||
"type": [
|
||||
"item"
|
||||
],
|
||||
"count": [
|
||||
2
|
||||
],
|
||||
"itemId": [
|
||||
5
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@id": 1235,
|
||||
"name": [
|
||||
"Item 2"
|
||||
],
|
||||
"alias": [
|
||||
"item",
|
||||
"12345"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user