{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Common"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"common","__idx":0},"children":["Common"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Primitives shared across every service."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"money","__idx":1},"children":["Money"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message Money {\n  string currency_code = 1;\n  int64 amount_cents = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"date","__idx":2},"children":["Date"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message Date {\n  int32 year = 1;\n  int32 month = 2;\n  int32 day = 3;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"intervalrequest","__idx":3},"children":["IntervalRequest"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message IntervalRequest {\n  optional Date start_date = 1;\n  optional Date end_date = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/common#date"},"children":["Date"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"nondiscreteintervalrequest","__idx":4},"children":["NonDiscreteIntervalRequest"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message NonDiscreteIntervalRequest {\n  enum Cadence {\n    UNKNOWN_CADENCE = 0;\n    MONTHLY = 1;\n    WEEKLY = 2;\n    DAILY = 3;\n    ANNUALLY = 4;\n  }\n\n  IntervalRequest interval = 1;\n  Cadence granularity = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/common#intervalrequest"},"children":["IntervalRequest"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"lookbacktype","__idx":5},"children":["LookbackType"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"enum LookbackType {\n  UNKNOWN_LOOKBACK = 0;\n  TO_DATE = 1;\n  PER_PERIOD = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"search","__idx":6},"children":["Search"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message Search {\n  oneof criteria {\n    string exact_match = 1;\n    string query = 2;\n  }\n  optional int32 max_results = 3;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"blob","__idx":7},"children":["Blob"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message Blob {\n  string mime_type = 1;\n  bytes data = 2;\n}\n","lang":"protobuf"},"children":[]}]},"headings":[{"value":"Common","id":"common","depth":1},{"value":"Money","id":"money","depth":2},{"value":"Date","id":"date","depth":2},{"value":"IntervalRequest","id":"intervalrequest","depth":2},{"value":"NonDiscreteIntervalRequest","id":"nondiscreteintervalrequest","depth":2},{"value":"LookbackType","id":"lookbacktype","depth":2},{"value":"Search","id":"search","depth":2},{"value":"Blob","id":"blob","depth":2}],"frontmatter":{"title":"Common","seo":{"title":"Common"}},"lastModified":"2026-09-14T19:48:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/core-data-types/common","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}