Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

액션 입력과 검증의 데이터 값

DataValue는 액션 매개변수와 검증 경계값 등에 사용하는 JSON 값입니다. 배열 안에 구조체가 들어가는 것처럼 중첩할 수 있습니다.

자료형JSON 표현예시
ArrayJSON 배열["alpha", "bravo", "charlie"]
AttachmentJSON 문자열"ri.attachments.main.attachment.2f944bae-5851-4204-8615-920c969a9f2e"
BooleanJSON 불리언true
ByteJSON 숫자31
CipherTextJSON 문자열"CIPHER::ri.bellaso.main.cipher-channel.e414ab9e-b606-499a-a0e1-844fa296ba7e::unzjs3VifsTxuIpf1fH1CJ7OaPBr2bzMMdozPaZJtCii8vVG60yXIEmzoOJaEl9mfFFe::CIPHER"
DateISO 8601 날짜 문자열"2021-05-01"
DecimalJSON 문자열"2.718281828"
DoubleJSON 숫자3.14159265
EntrySetJSON 객체의 배열[{"key": "EMP1234", "value": "true"}, {"key": "EMP4444", "value": "false"}]
FloatJSON 숫자3.14159265
IntegerJSON 숫자238940
LongJSON 문자열"58319870951433"
MarkingJSON 문자열"MU"
NullJSON nullnull
Object SetRID 문자열 또는 객체 집합 정의"ri.object-set.main.versioned-object-set.2f944bae-5851-4204-8615-920c969a9f2e" 또는 객체 집합 정의
Ontology Object Reference객체 기본 키의 JSON 표현10033123 또는 "EMP1234"
Ontology Interface Object Reference객체 유형 API 이름과 기본 키를 담은 JSON 객체{"objectTypeApiName":"Employee", "primaryKeyValue":"EMP1234"}
Ontology Object Type Reference객체 유형 API 이름 문자열"Employee"
Scenario Reference시나리오 RID 문자열"ri.actions..scenario.cf2a8a49-8b56-446d-ab04-a6bc7fadef48"
SetJSON 배열["alpha", "bravo", "charlie"]
ShortJSON 숫자8739
StringJSON 문자열"Call me Ishmael"
StructJSON 객체{"name": "John Doe", "age": 42}
TwoDimensionalAggregationJSON 객체{"groups": [{"key": "alpha", "value": 100}, {"key": "beta", "value": 101}]}
ThreeDimensionalAggregationJSON 객체{"groups": [{"key": "NYC", "groups": [{"key": "Engineer", "value" : 100}]}]}
TimestampUTC 기준 ISO 8601 타임스탬프 문자열"2021-01-04T05:00:00Z"
Time Series Referencetype 구분 필드를 갖는 JSON 객체{"type":"seriesId","seriesId":"sensor-123"}, {"type":"templateRid","templateRid":{"templateRid":"ri.time-series-catalog.main.template.2f944bae-5851-4204-8615-920c969a9f2e","templateVersion":"1"}}, 또는 {"type":"qualifiedSeriesId","qualifiedSeriesId":{"seriesId":"sensor-123","syncRid":"ri.time-series-catalog.main.sync.2f944bae-5851-4204-8615-920c969a9f2e"}}

Long과 Decimal은 문자열로 전달합니다. 객체 참조에는 객체 전체가 아닌 기본 키를 사용하고, 인터페이스 객체 참조에는 객체 유형 API 이름과 기본 키를 함께 담습니다. 객체 집합을 정의로 전달할 때는 객체 집합 형식을 따릅니다.