스키마 컨텍스트는 Shares(공유) > Schema(스키마)에서 찾을 수 있습니다.
carp:> shares schema carp:shares schema> show Properties: NAME TYPE DESCRIPTION owner EmailAddress Owner Contact
각 등록 정보는 스키마 컨텍스트의 하위 항목이며, 등록 정보의 이름을 토큰으로 사용합니다. 등록 정보를 만들려면 create 명령을 사용합니다.
carp:shares schema> create department carp:shares schema department (uncommitted)> get type = String description = department carp:shares schema department (uncommitted)> set description="Department Code" description = Department Code (uncommitted) carp:shares schema department (uncommitted)> commit carp:shares schema>
특정 등록 정보의 컨텍스트 내에서 표준 CLI 명령을 사용하여 필드를 설정할 수 있습니다.
carp:shares schema> select owner carp:shares schema owner> get type = EmailAddress description = Owner Contact carp:shares schema owner> set description="Owner Contact Email" description = Owner Contact Email (uncommitted) carp:shares schema owner> commit
정의된 사용자정의 등록 정보는 "custom:<property>"라는 이름으로 다른 등록 정보와 마찬가지로 액세스할 수 있습니다.
carp:shares default> get ... custom:department = 123-45-6789 custom:owner = ... carp:shares default> set custom:owner=bob@corp custom:owner = bob@corp (uncommitted) carp:shares default> commit