unit XData.Consts;

interface

const
  {$I ..\XDataVersion.Inc}

const
  XmlMediaType = 'application/xml';
  TextMediaType = 'text/plain';
  JsonMediaType = 'application/json';
  BlobMediaType = 'application/octet-stream';
  MultiPartFormDataMediaType = 'multipart/form-data';

const
  XDataHeaderExpandLevel = 'XData-ExpandLevel';
  XDataHeaderExpandLevel2 = 'xdata-expand-level';
  XDataHeaderPutMode = 'xdata-put-mode';
  XDataHeaderPostMode = 'xdata-post-mode';
  XDataHeaderFlushMode = 'xdata-flush-mode';
  XDataHeaderProxyLoadDepth = 'xdata-proxy-load-depth';
  XDataHeaderProxyListLoadDepth = 'xdata-proxy-list-load-depth';
  XDataHeaderVersion = 'xdata-version';
  XDataSerializeInstanceRef = 'xdata-serialize-instance-ref';
  XDataSerializeInstanceType = 'xdata-serialize-instance-type';

const
  JsonDefaultIndent = 4;
  JsonXDataType = '@xdata.type';
  JsonReferenceAnnotation = 'xdata.ref';
  JsonProxyAnnotation = 'xdata.proxy';
  JsonCollectionValue = 'value';
  JsonCollectionInlineCount = '@xdata.count';
  JsonPropertyValue = 'value';
  JsonResultValue = 'value';
  JsonResultParam = 'result';
  JsonParamValue = 'value';

implementation

end.
