Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

Extended metadata type attributes needed to accept both controlled vocabulary suggestions and free text via an allow_free_text flag in the EMT JSON schema.

  • Schema: Added allow_free_text to EMT attribute schema (both basic and CV/linked variants) so JSON uploads can declare free-text allowance.
  • Import: Persisted allow_free_text into allow_cv_free_text when creating extended metadata attributes from JSON.
  • Serialization: Exposed allow_free_text in the extended metadata type serializer for API consumers.
  • Tests/fixtures: Updated CV EMT fixture and extractor test to cover allow_free_text behavior.

Example:

{
  "attributes": [
    {
      "title": "Topics",
      "type": "Controlled Vocabulary",
      "ID": "CV_TOPICS_ID",
      "allow_free_text": true
    }
  ]
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https -I . -I ./libsass/include --gdwarf-5 --64 -o utf8_string.o /tmp/ccrlT5ol.s -I -g++ comp�� ITS=64 RCE cal/share/gem/ru-I or/bundle/ruby/3echo -I GES as (dns block)
  • oss-binaries.phusionpassenger.com
    • Triggering command: /usr/bin/curl curl -f -L -o rubyext-ruby-3.2.3-x86_64-linux.tar.gz.tmp -s -S --connect-timeout 4 --speed-time 5 --speed-limit 1 --max-time 10 REDACTED lient or/bundle/ruby/3-I p or/bundle/ruby/3-I (dns block)
  • s3.amazonaws.com
    • Triggering command: /usr/bin/curl curl -f -L -o rubyext-ruby-3.2.3-x86_64-linux.tar.gz.tmp -s -S --connect-timeout 4 --speed-time 5 --speed-limit 1 --max-time 10 REDACTED lient bgit2/deps/pcre p bgit2/deps/xdiff (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

#2449
could you work on this github issue


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: whomingbird <42063448+whomingbird@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix JSON schema validation errors in API Support allow_free_text in extended metadata controlled vocab attributes Dec 10, 2025
Copilot AI requested a review from whomingbird December 10, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants