From OIP Wiki
(Redirected from Party artifact)
Jump to: navigation, search
 	"oip042": {
 		"publish": {
 			"artifact": {
 				"floAddress": "string",
 				"timestamp": 10 digit integer,
 				"type": "property",
 				"subtype": "party",
 					"title": "string",
 					"description": "string",
 					"year":  4 digit year,
 					"tags": "comma delimited list of search terms",
                                  "details": {
                                        "ns": "string",
                                        "partyRole": "string",
                                        "partyType": "string",
                                        "members": [ "party artifact ID", ...]
                                        "attrs": { "application specific object for additional attributes" },
 					"network": "string",
 					"location": "string,
 					"files": [{
 						"fName": "string",
 						"fSize": integer,
 						"dName": "string",
                                                     "fType": "Description of file's purpose, intent, or its context"
 				"signature": "string"
artifact.floAddress          ... The FLO address of the publisher that published this artifact.
artifact.type			... Always 'property' for property artifacts
artifact.subtype		... 'party' for the party artifact.
	title			... The party's name. Same as
	description		... Optional descriptive text. Set to empty string if no description is available.
	year			... For digit year that the party came into existence legally or informally.
					Can be equal to LADM's VersionedObject.beginLifespanVersion year.
	tags			... Optional comma delimited list of search terms.
        ns                      ... Namespace used for organization and project names. This will allow a specific property application to
                                    recognize known data structures.
	partyRole	        ... Value from LA_PartyRoleType code list: bank, certifiedSurveyor, citizen,
				    conveyor, employee, farmer, moneyProvider, notary, stateAdministrator,
				    surveyor, writer.
	partyType	        ... Value from LA_PartyType and LA_GroupPartyType: baunit, group, naturalPerson,
				    nonNaturalPerson, association, baunitGroup, family, tribe.
	members		        ... If this is a party group (family, tribe, association, etc), this will be an 
                                    array of party artifact ID's of members of the group.
        attrs                   ... A JSON object that represent attributes. Its schema is understood by applications defined by ns,
                                    namespace. A simple example would be map object:  {"key1":"value1", "key2":"value2",...}.
                                    To be clear, this property may be a list of objects whose schema is defined by the application. The use of
                                    key/value map object is one example.
	network			... IPFS
	location		... IPFS directory hash
	files			... Array of file definitions
		fName		... Filename
		fSize		... File size in bytes
		dName		... Optional display name used by user interfaces
                fType           ... Description of file's purpose, intent, or its context