Skip to content

Instantly share code, notes, and snippets.

@Akii
Created December 27, 2012 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akii/4386953 to your computer and use it in GitHub Desktop.
Save Akii/4386953 to your computer and use it in GitHub Desktop.
Dummy.json derzeit noch ohne Actions, Relations.
{
"identifier":"TYPO3.TestThingy",
"type":"TYPO3.PackageBuilder:Package",
"label":"Package Name",
"description":"A description of the Package.",
"children":{
"0":{
"type":"TYPO3.PackageBuilder:Container",
"identifier":"DomainObject",
"label":"DomainObjects",
"children":{
"0":{
"type":"TYPO3.PackageBuilder:DomainObject",
"isActive":true,
"label":"Blog",
"identifier":"domainobject1",
"description":"Description for domain object 'Blog'",
"root":true,
"children":{
"0":{
"type":"TYPO3.PackageBuilder:Container",
"identifier":"Properties",
"label":"DomainObject Properties",
"children": {
"0":{
"type":"TYPO3.PackageBuilder:Property",
"identifier":"property3",
"description":"Super awesome property thingy!",
"children":{},
"label":"blogname",
"propertyType":{
"0":"string"
}
},
"1":{
"type":"TYPO3.PackageBuilder:Property",
"identifier":"relation123",
"children":{},
"label":"relation123",
"propertyType":{
"0":"string"
}
}
}
},
"1":{
"type":"TYPO3.PackageBuilder:Container",
"identifier":"Actions",
"label":"DomainObject Actions",
"children": {
"0":{
"type":"TYPO3.PackageBuilder.Action",
"identifier":"action1",
"label":"New Action",
"cacheable":false,
"needsTemplate":true,
"needsPropertyPartial":false,
"needsForm":true
},
"1":{
"type":"TYPO3.PackageBuilder.Action",
"identifier":"action2",
"label":"Create Action",
"cacheable":false,
"needsTemplate":false,
"needsPropertyPartial":true,
"needsForm":false
}
}
}
}
},
"1":{
"type":"TYPO3.PackageBuilder:DomainObject",
"isActive":false,
"isRelationable":false,
"label":"Article",
"identifier":"domainobject2",
"children":{
"0":{
"type":"TYPO3.PackageBuilder:Container",
"identifier":"Properties",
"label":"DomainObject Properties",
"children": {
"0":{
"type":"TYPO3.PackageBuilder:Property",
"identifier":"property1",
"children":{},
"label":"author",
"required":true,
"propertyType":{
"0":"string"
}
},
"1":{
"type":"TYPO3.PackageBuilder:Property",
"identifier":"property2",
"children":{},
"label":"text",
"propertyType":{
"0":"text"
},
"configuration":{
"cols":"20",
"rows":"50"
}
},
"2":{
"type":"TYPO3.PackageBuilder:Property",
"identifier":"property4",
"children":{},
"label":"date",
"propertyType":{
"0":"dateTime"
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment