models.dsl.FiboEntity.rapid Maven / Gradle / Ivy
rapidModel FiboEntity
resourceAPI FiboEntity baseURI "http://modelsolv.com"
objectResource LegalPersonObject type Fibo.LegalPerson
URI LegalPerson/{name}
required templateParam name property legalPersonId
mediaTypes
application/xml
method GET getLegalPerson
request
required param id property legalPersonId
response LegalPersonObject statusCode 200
response statusCode 404
method PUT putLegalPerson
request LegalPersonObject
required param id property legalPersonId
response statusCode 200
objectResource NaturalPersonObject type Fibo.NaturalPerson
URI NaturalPerson/{name}
required templateParam name property naturalPersonId
mediaTypes
application/xml
method GET getNaturalPerson
request
required param id property naturalPersonId
response NaturalPersonObject statusCode 200
param id property naturalPersonId
response statusCode 404
method PUT putNaturalPerson
request NaturalPersonObject
required param id property naturalPersonId
response statusCode 200
objectResource BodyCorporateObject type Fibo.BodyCorporate
URI BodyCorporate/{name}
required templateParam name property bodyCorporateId
mediaTypes
application/xml
application/json
application/javascript
method GET getBodyCorporate
request
required param id property bodyCorporateId
response BodyCorporateObject statusCode 200
response statusCode 404
method PUT putBodyCorporate
request BodyCorporateObject
required param id property bodyCorporateId
response
objectResource ArtificialPersonObject type Fibo.ArtificialPerson
URI ArtificialPerson/{name}
required templateParam name property artificialPersonId
mediaTypes
application/xml
method GET getArtificialPerson
request
required param id property artificialPersonId
response ArtificialPersonObject statusCode 200
response statusCode 404
method PUT putArtificialPerson
request ArtificialPersonObject
required param id property artificialPersonId
required param registeredNumber property registeredNumber
response
dataModel Fibo
structure AutonomousEntity
//subclasses
legalPerson : containing reference LegalPerson
legalEntity : containing reference LegalEntity
structure LegalPerson
legalPersonId : string
accepts : reference LoanBorrowerCommitment //A commitment to a loan, which the Legal Entity accepts.
isCapableOf : reference Liability // The ability of an entity to incur debt and be sued at law.
// subclasses - mutually exclusive
naturalPerson : containing reference NaturalPerson?
artificial : containing reference ArtificialPerson?
structure NaturalPerson
naturalPersonId : string
structure ArtificialPerson
artificialPersonId : int
registeredNumber : long
constitutedIn : reference Jurisdiction
hasLegalName : containing reference LegalName
registeredAt : containing reference RegisteredAddress
constitutedBy : containing reference InstrumentOfIncorporation
//subclasses
companyLimitedByGarantee : containing reference CompanyLimitedByGarantee
LegallyIncorporatedPartnership : containing reference LegallyIncorporatedPartnership
foundation : containing reference Foundation
jurisdiction : containing reference Jurisdiction
structure CompanyLimitedByGarantee
structure LegallyIncorporatedPartnership
structure Foundation
structure IncorporatedCompany
incorporatedUnder : reference Jurisdiction
hasLegalName : containing reference LegalName
registeredAddress : containing reference RegisteredAddress
structure Jurisdiction
id : string
structure LegalName
id : string
name : string
structure RegisteredAddress
addressLine : string [1..5]
zipCode : string
structure LegalEntity
hasCapacityOf : reference SignatoryCapacity*
structure LoanBorrowerCommitment
structure SignatoryCapacity
id : string
isThat : reference LegalPerson
structure Liability
structure InstrumentOfIncorporation
structure BodyCorporate
bodyCorporateId : string